public class Bird extends Animal implements Run,Fly,Swi{

    public Bird(String name, int age) {
        super(name, age);
    }

    @Override
    public void fly() {
        System.out.println(this.getName()+"正在飞");
    }

    @Override
    public void run() {
        System.out.println(this.getName()+"正在跑");
    }

    @Override
    public void swim() {
        System.out.println(this.getName()+"正在游泳");
    }
}
